# from utils/fields.py
# create multilingual fields for your model
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models
from django.utils.translation import ugettext_lazy as _
from django.utils.encoding import (python_2_unicode_compatible)
from utils.fields import MultilingualCharField
from utils.fields import MultilingualTextField


@python_2_unicode_compatible
class Idea(models.Model):
    title = MultilingualCharField(_('Title'), max_length=200,)
    description = MultilingualTextField(_('Description'), blank=True,)

    class Meta:
        verbose_name = _('Idea')
        verbose_name_plural = _('Ideas')

    def __str__(self):
        return self.title